﻿using System.Web;
using System.Web.Optimization;

namespace AMing.Mvc4
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js/jquery").Include(
                        "~/Scripts/jquery.js",
                        "~/Scripts/jquery.aming.image-1.01.04.1.js",
                        "~/Scripts/jquery.aming.slide-1.12.31.0.test.js"));
            #region Default

            bundles.Add(new ScriptBundle("~/js/defalut/index").Include(
                        "~/scripts/default/index.js",
                        "~/scripts/default/module.ajaxhtml.js"));

            bundles.Add(new ScriptBundle("~/js/defalut/main_index").Include(
                        "~/scripts/default/main.index.js"));

            #endregion

            bundles.Add(new StyleBundle("~/css/default/main").Include(
                        "~/Styles/default/main.css"));

            bundles.Add(new StyleBundle("~/css/default/main_index").Include(
                        "~/Styles/default/main.index.css"));

        }
    }
}